﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication1
{
    public partial class _Default : System.Web.UI.Page
    {

        WebWCFService service;

        protected void Page_Load(object sender, EventArgs e)
        {
            service = new WebWCFService(this);

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            service.GetForum();
        }

        internal void getForum(string title)
        {
            this.Label1.Text = Title;
        }
    }
}
